﻿using Webdiyer.WebControls.Mvc;

namespace ExcellentCRM.Site.Models
{
    public class SearchModel<T> where T : class
    {
        private int _pageIndex = 1;
        public int PageIndex
        {
            get { return _pageIndex <= 0 ? 1 : _pageIndex; }
            set { _pageIndex = value; }
        }

        public PagedList<T> SearchResult { get; set; }
    }
}